<template>
  <div id="app">
    <el-container style="height: 100%">
      <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
        <el-menu :default-openeds="['1']">
          <el-submenu index="1">
            <template slot="title">
              <span>three.js可视化相关</span>
            </template>
            <el-menu-item-group>
              <el-menu-item index="1-1">
                <router-link to="/base-city">加载动画、流光、扩散波</router-link>
              </el-menu-item>
              <el-menu-item index="1-2">
                <router-link to="/effect-city">飞线，扫描，扩散墙</router-link>
              </el-menu-item>
              <el-menu-item index="1-3">
                <router-link to="/surround-line-city">包围线以及其上的扫光</router-link>
              </el-menu-item>

              <el-menu-item index="1-4">
                <router-link to="/models">模型</router-link>
              </el-menu-item>
              
            </el-menu-item-group>
          </el-submenu>
          
        </el-menu>
      </el-aside>
      <el-container>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>

<style>
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  width: 100%;
  height: 100%;
}
</style>
